home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960209-19960425 / 000034_news@columbia.edu _Fri Feb 16 16:52:26 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id QAA06179 for <kermit.misc@watsun>; Fri, 16 Feb 1996 16:52:24 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id QAA14784 for kermit.misc@watsun; Fri, 16 Feb 1996 16:52:20 -0500 (EST)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!howland.reston.ans.net!ix.netcom.com!netcom.com!gbutler
  6. From: gbutler@netcom.com (Gary T. Butler)
  7. Subject: Auto login and xfer of files using Kermit
  8. Message-ID: <gbutlerDMvxFz.203@netcom.com>
  9. Keywords: Kermit LAN UB files
  10. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  11. Distribution: usa
  12. Date: Fri, 16 Feb 1996 20:11:58 GMT
  13. Lines: 65
  14. Sender: gbutler@netcom11.netcom.com
  15.  
  16.  
  17. I hope this is the correct place to post this problem.
  18.  
  19. I am trying to use Kermit for transfering files from one machine to another
  20. and not having much success. The transfer has to be able to be started 
  21. from cron.
  22.  
  23. Is this possible, if so how?
  24.  
  25. The particulars are:
  26.  
  27. The originating machine is a 3B2700 running UNIX SVR3 with serial ports
  28. connected to an Ungerman-Bass NIU. 
  29.  
  30. I am trying to automatically log into a SUN Workstation on a TCP/IP
  31. network.
  32.  
  33. The path is as follows:
  34.  
  35.     UNIX to UB to ROUTER to TCP/IP to SUN
  36.  
  37. >From UNIX to UB I have to set flow none and binary on. Then connect to
  38. ROUTER. The ROUTER gives a prompt which I respond to with a destantion. 
  39.  
  40. Finally I get a login prompt and password prompts from the SUN.
  41.  
  42. I have been able to write a shell program which starts kermit and calls
  43. a script. This works fine until the UB lan is connected then the script
  44. fails.
  45.  
  46. When the kermit> prompt comes back I can enter take myscript and it will
  47. completly log into the SUN except I get the kermit> prompt and have to
  48. enter c to finish the connection and get the system prompt from the SUN.
  49.  
  50. Another question I have is how do I disconnect gracefully.
  51.  
  52. I ran into a problem when I was logged into the UNIX machine from my
  53. machine at home, which runs Linux, using Kermit and using Kermit to connect
  54. to the SUN. When I tried to disconnect it took me back to my home machine,
  55. which after I thought about it was normal. Is there a way to get around this
  56. problem.
  57.  
  58. I have both the MSKERMIT and CKERMIT books and have tried to gleen this
  59. information from them to no avail. Any and all help will be greatly
  60. appreciated
  61.  
  62. The following is the shell program and the kermit script with changes to
  63. protect the innocent.
  64.  
  65. This is the shell to get things started.
  66.  
  67. chmod 777 /dev/tty41    #This is required if the user is not root.
  68. kermit myscript.scr
  69.  
  70. This is myscript.scr
  71.  
  72. set line /dev/tty41
  73. set speed 9600
  74. set script echo on
  75. script ~0 ~r >> SET~sFLOW~sNONE >> SET~sBINARY~sON >> connect~s*NIU asm1> name in: user word: mypass
  76. -- 
  77.  
  78.        Gary T. Butler
  79.        Email network
  80.        gbutler@netcom.com